package com.lhd.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by liuhandong on 2021/11/24.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Tag {

    private Long id;
    private String name;
    private List<Blog> blogs = new ArrayList<>();
    private Long count;

    public void run(){
        System.out.println("阅读源码---");
    }
}


class Test{
    public static void main(String[] args) {
        Tag tag = new Tag(10l,"1",null,5l);
    }
}